<!DOCTYPE html>
    <html>
    <head>
        <title>{$pname} - {$site_seo_title} </title>
        <meta name="keywords" content="{$post_keywords}" />
        <meta name="description" content="{$post_excerpt}">
        <tc_include file="Public:head" />
        <style>
        	.product{ padding: 30px 0;}
			.product .baseinfo{float:left; width:280px; margin-right:20px; border:1px solid #EAEAEA; padding:30px 10px 100px 10px;border-top:3px solid #97C82A;}
			.product .pic{width:280px; text-align:center;}
			.product .product_price{font-size:16px; line-height:40PX;}
			.product strong{ display:block;}
			.warning{ line-height:32px}
			.warning strong{ background:#eee; display:block; padding:0 5px}
			.warning li{ border-bottom:1px dashed #888; padding:0 15px;}
			.warning p{ color:#999;}
			em{ color:#fe622a; font-style:normal;}
		</style>
    </head>
<body class="page">
<tc_include file="Public:nav" />
<div class="container">
    <div class="product">
    	<div class="baseinfo bgf">
            <div class="pic"><img src="{:sp_get_asset_upload_path($avatar)}" alt="{$pname}" height="120" /></div>       
            <div class="product_price t-a-c" data-price="{$price}"><strong>{$pname}</strong>最高回收价: <em>￥{$price}</em><span></span></div>
			<div class="warning">
				<strong>回收须知</strong>
				<ul>
					<li>1、以下机型不予回收：
						<p>不能开机的手机不回收；<br/>山寨机、高仿机不回收；</p>
					</li>
					<li>2、取消锁屏密码：
						<p>请将所设置的密码取消，以便我们检测工程师及时进行检测。</p>
					</li>
					<li>3、退出账户：
						<p>苹果手机请退出iCloud账户； <br/>魅族手机请退出flymne账户</p>
					</li>
				</ul>
			</div>
        </div>
        <div id="product_content" class="bgf">
        {$content}
        </div>        
        <div class="well">
            <form id="pform" action="{:U('/product/result','','')}" method="post">
            <input type="hidden" name="pid" value="{$id}">
            <input type="hidden" name="order_price" value="">        
            <input type="hidden" name="order_json" value="">
            <input type="hidden" id="is_lock" value="0">            
            <button id="order" type="button" class="ipt-btn">立即估价</button>
            </form>
        </div>
    </div>
   
</div>
<div class="clearfix"></div>
<tc_include file="Public:footer"/>
</div>             
<tc_include file="Public:scripts"/>
<script type="text/javascript" src="__ROOT__/statics/js/validate.js"></script>
<script type="text/javascript" src="__ROOT__/statics/js/product.js?v="></script>
<script>
	$("#order").on("click",function(){
		if($("#is_lock").val() == 0) return;	
		$('#pform').submit();	
	})
</script>
</body>
</html>